package com.tongji.diy.controller
{
	import com.tongji.diy.event.LockFurnitureEvent;
	import com.tongji.diy.model.FurnitureModel;
	
	import org.robotlegs.mvcs.Command;
	
	public class LockFurnitureCommand extends Command
	{
		[Inject]
		public var event:LockFurnitureEvent;
		
		[Inject]
		public var model:FurnitureModel;
		public function LockFurnitureCommand()
		{
			super();
		}
		override public function execute():void
		{
			model.CF = event.index;
		}
	}
}